FROM java

ADD *.jar app.jar

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone

EXPOSE 9010

ENTRYPOINT ["java","-jar","/app.jar","--server.port=9010","--spring.profiles.active=dev"]